package com.project.controller;

import com.project.bean.CountBean;
import com.project.entity.SupplierEntity;
import com.project.service.IBiddService;
import com.project.service.ICountService;
import com.project.service.ISupplierService;
import com.project.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("count")
public class CountController {

    @Autowired
    private ICountService countService;


    @RequestMapping("findCountByType")

    public List<CountBean> findCountByType() {
        return countService.findCountByType(1);
    }


}
